//学生端首页
.student-index{
    .student-index-title{
        text-align: center;
        margin-top: 35px;
        .el-col{
            display: block;
            &:first-child{
                font-size: 20px;
                color: #404040;
            }
            &:last-child{
                font-size: 14px;
                color: #6b6b6b;
                font-family: Arial;
                margin-top: 12px;
            }
        }
    }
    .student-index-list{
        margin: 35px 60px;
        .el-col{
            position: relative;
            height: 470px;
            transition: .3s transform;
            transform: translateZ(0);
            margin-bottom: 30px;
            z-index: 10;
            cursor: pointer;
            &.add-col{
                .add-icon{
                    line-height: 470px;
                    font-size:128px;
                    text-align: center;
                    font-weight: bold;
                    color: #7393bc;
                    background: #fff;
                    box-shadow: 0px 7px 25px #beb7b7;
                    cursor: pointer;
                }
            }
            &:hover{
                transform: scale(1.1, 1.1);
                transition: .3s transform;
                z-index: 999;
                .btn-box{
                    display: block;
                }
            }
            .list-header{
                height: 198px;
                text-align: center;
                overflow: hidden;
                &.blue1{
                    background: #5d7faa;
                }
                &.blue2 {
                    background: #4a7fcc;
                }
                &.green {
                    background: #009e79;
                }
                &.red {
                    background: #cb4761;
                }
                .list-img{
                    margin: 45px 0 20px;
                    img{
                        width: 55px;
                    }
                }
                .list-text1{
                    font-size: 20px;
                    color: #fff;
                    height: 25px;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    white-space: nowrap;
                }
                .list-text2{
                    // font-size: 14px;
                    // color: #fff;
                    // font-family: Arial;
                    // margin-top: 7px;
                    border: solid 1px #fff;
                    // border-radius: 15px;
                    width: 80px;
                    padding: 5px 0;
                    color: #fff;
                    margin: 15px auto 0;
                    overflow: hidden;
                    white-space: nowrap;
                    text-overflow: ellipsis;
                }
            }
            .list-content{
                height: 275px;
                box-sizing: border-box;
                padding: 20px;
                box-shadow: 0px 7px 25px #beb7b7;
                p{
                    line-height: 24px;
                    font-size: 14px;
                    color: #585858;
                    height: 100%;
                    overflow: hidden;
                    word-wrap:break-word;
                }
            }
            .btn-box{
                position: absolute;
                right: 35px;
                bottom: 20px;
                transition: .3s;
                display: none;
                img{
                    margin-left: 20px;
                    cursor: pointer;
                }
            }
            .list-content-knot{
                position: absolute;
                right: 30%;
                bottom: 20%;
            }
            .list-tag{
                position: absolute;
                height: 22px;
                line-height: 22px;
                padding: 0 8px 0 10px;
                background: #6f98cb;
                color: #fff;
                right: 12px;
                top: 15px;
                border-radius: 10px 0 0 10px;
                font-size: 12px;
                max-width: 100px;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
                box-shadow: 3px 0 7px rgba(88,85,85,1);
            }
        }
    }
    .search-box {
        margin: 50px 0 0 60px;

        &:after {
            clear: both;
            content: ' ';
            display: block;
            width: 0;
            height: 0;
            visibility: hidden;
        }

        .search-item {
            float: left;
            margin-right: 50px;

            .search-title {
                float: left;
                line-height: 40px;
                margin-right: 10px;
                color: #333;
                font-size: 16px;
            }
        }

        @media screen and (max-width: 1600px) {
            .search-item {
                margin-bottom: 20px;
            }
        }
    }
}
//实训项目首页
.project-index{
    background: #fff;
    overflow: hidden;
    .project-index-title {
        text-align: center;
        margin-top: 35px;
        .el-col {
            display: block;
            &:first-child {
                font-size: 20px;
                color: #404040;
            }
            &:last-child {
                font-size: 14px;
                color: #6b6b6b;
                font-family: Arial;
                margin-top: 12px;
            }
        }
    }
    .search-box {
        margin: 50px 0 0 60px;
        &:after {
             clear: both;
             content: ' ';
             display: block;
             width: 0;
             height: 0;
             visibility: hidden;
         }
         .search-item {
             float: left;
             margin-right: 50px;
             .search-title {
                 float: left;
                 line-height: 40px;
                 margin-right: 10px;
                 color: #333;
                 font-size: 16px;
             }
         }
         @media screen and (max-width: 1600px) {
             .search-item {
                 margin-bottom: 20px;
             }
         }
     }
    .project-index-list {
        margin-left: -32px;
        padding: 20px 60px 35px;
        .el-col {
            width: 360px;
            height: 486px;
            margin-bottom: 20px;
            float: left;
            margin-left: 32px;
            .list-item {
                position: relative;
                width: 360px;
                height: 486px;
                margin-bottom: 20px;
                box-shadow: 0 0 20px rgba(78, 133, 225, 0.2);
            }
            .list-tag {
                position: absolute;
                height: 22px;
                line-height: 22px;
                padding: 0 8px 0 10px;
                background: #6f98cb;
                color: #fff;
                right: 0;
                top: 15px;
                border-radius: 10px 0 0 10px;
                font-size: 12px;
                max-width: 100px;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
                box-shadow: 3px 0 7px rgba(88, 85, 85, 1);
            }
            .list-content-knot {
                position: absolute;
                right: 30%;
                bottom: 20%;
            }
            .list-header{
                border-radius: 5px 5px 0 0;
                height: 104px;
                line-height: 104px;
                text-align: center;
                img{
                    margin-right: 10px;
                    width: 48px;
                }
                span{
                    color: #fff;
                    font-size: 20px;
                }
            }
            .list-content{
                height: 382px;
                border-radius: 0 0 5px 5px;
                overflow: hidden;
                .content-header{
                    overflow: hidden;
                    margin: 55px 44px 0;
                    .header-item{
                        float: left;
                        width: 124px;
                        height: 102px;
                        border: solid 1px #5d7faa;
                        border-radius: 2px;
                        box-sizing: border-box;
                        text-align: center;
                        overflow: hidden;
                        transition: .5s;
                        &:hover{
                            background: #5d7faa;
                            i,span{
                                color: #fff;
                            }
                        }
                        i{
                            font-size: 40px;
                            margin: 18px 0 14px;
                            color: #5d7faa;
                            display: block;
                        }
                        span{
                            font-size: 14px;
                            color: #4e555d;
                        }
                        &:last-child{
                            float: right;
                            margin: 0;
                        }
                    }
                }
                .content-text{
                    line-height:1.8em;
                    height:6.8em;
                    margin: 55px 44px 0;
                    word-break: break-all;
                    text-overflow: ellipsis;
                    display: -webkit-box;
                    /** 对象作为伸缩盒子模型显示 **/
                    -webkit-box-orient: vertical;
                    /** 设置或检索伸缩盒对象的子元素的排列方式 **/
                    -webkit-line-clamp: 4;
                    /** 显示的行数 **/
                    overflow: hidden;
                    /** 隐藏超出的内容 **/
                }
            }
        }
    }
}
